function toggle(targetId){
  if (document.getElementById){
		target = document.getElementById( targetId );
		   if (target.style.display == "none" || target.style.display == "") {
			  target.style.display = "block";
		   } else if (target.style.display == "block") {
			  target.style.display = "none";
		   }				   
	 }
}
function hide(targetId){
	if (document.getElementById) {
		target = document.getElementById(targetId);
		if (target.style.display != "none") {
			target.style.display = "none";
		}				   
	}
}
function show(targetId){
	if (document.getElementById) {
		target = document.getElementById(targetId);
		if (target.style.display != "block") {
			target.style.display = "block";
		}				   
	}
}
function mostra() {
	hide('msgErro'); show('contInserirPessoa');
}
function reverte() {
	show('msgErro'); hide('contInserirPessoa');
}
